package com.nnnu.wsnackshop.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "批量为商品分配标签 DTO")
public class AssignProductTagsDTO {
    @NotNull
    @Schema(description = "商品 ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long productId;

    @NotEmpty
    @Schema(description = "标签 ID 列表", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<Long> tagIds;
}

